
package com.ktgj.common.spring.entity.iata.iata_orderreshoprs;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>RepricedOfferItemType complex type的 Java 类。
 * 
 * <p>以下模式片段指定包含在此类中的预期内容。
 * 
 * <pre>
 * &lt;complexType name="RepricedOfferItemType"&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;sequence&gt;
 *         &lt;element name="FareDetail" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_OrderReshopRS}FareDetailType" maxOccurs="unbounded" minOccurs="0"/&gt;
 *         &lt;element name="OfferItemRefID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
 *         &lt;element name="OriginalOrderItem" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_OrderReshopRS}OriginalOrderItemType"/&gt;
 *         &lt;element name="TotalPrice" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_OrderReshopRS}PriceType"/&gt;
 *       &lt;/sequence&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "RepricedOfferItemType", propOrder = {
    "fareDetail",
    "offerItemRefID",
    "originalOrderItem",
    "totalPrice"
})
public class RepricedOfferItemType {

    @XmlElement(name = "FareDetail")
    protected List<FareDetailType> fareDetail;
    @XmlElement(name = "OfferItemRefID")
    protected String offerItemRefID;
    @XmlElement(name = "OriginalOrderItem", required = true)
    protected OriginalOrderItemType originalOrderItem;
    @XmlElement(name = "TotalPrice", required = true)
    protected PriceType totalPrice;

    /**
     * Gets the value of the fareDetail property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the fareDetail property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getFareDetail().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link FareDetailType }
     * 
     * 
     */
    public List<FareDetailType> getFareDetail() {
        if (fareDetail == null) {
            fareDetail = new ArrayList<FareDetailType>();
        }
        return this.fareDetail;
    }

    /**
     * 获取offerItemRefID属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getOfferItemRefID() {
        return offerItemRefID;
    }

    /**
     * 设置offerItemRefID属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setOfferItemRefID(String value) {
        this.offerItemRefID = value;
    }

    /**
     * 获取originalOrderItem属性的值。
     * 
     * @return
     *     possible object is
     *     {@link OriginalOrderItemType }
     *     
     */
    public OriginalOrderItemType getOriginalOrderItem() {
        return originalOrderItem;
    }

    /**
     * 设置originalOrderItem属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link OriginalOrderItemType }
     *     
     */
    public void setOriginalOrderItem(OriginalOrderItemType value) {
        this.originalOrderItem = value;
    }

    /**
     * 获取totalPrice属性的值。
     * 
     * @return
     *     possible object is
     *     {@link PriceType }
     *     
     */
    public PriceType getTotalPrice() {
        return totalPrice;
    }

    /**
     * 设置totalPrice属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link PriceType }
     *     
     */
    public void setTotalPrice(PriceType value) {
        this.totalPrice = value;
    }

}
